/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    DongPeng
 * 创建时间:    2023-10-06
 * copyright(c) 2022 无锡星智数服科技有限公司
 */
package org.jeecg.modules.dock.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 按灯状态枚举
 *
 * @author DongPeng
 * @version 1.0.0
 * @date 2023-10-06
 * @description 类描述
 */
@Getter
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public enum LightStateEnum {
    @JsonProperty("close")
    CLOSE(0, "灭"),
    @JsonProperty("bright")
    BRIGHT(1, "亮");


    private final int code;
    private final String remark;

    public Integer getCode() {
        return code;
    }

    public String getRemark() {
        return remark;
    }

    public String getEnumName() {
        return "按灯状态";
    }
}
